/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.pos.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.dian.common.vo.BaseVO;
import lombok.Data;
import java.util.Date;
import java.util.List;
/**
 * 采购订单导出主类VO
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-24 09:40:47
 */
@Data
@ExcelTarget("purchaseHeadExportVO")
public class PurchaseHeadExportVO  extends BaseVO {
	private static final long serialVersionUID = 1L;

    /**
	 * 单据编码
	 */
    @Excel(name = "单据编码",needMerge = true)
    private String purchaseNo;




    /**
	 * 单据日期;format:yyyy-MM-dd;readonly
	 */
    @Excel(name = "单据日期", exportFormat = "yyyy-MM-dd",needMerge = true)
    private Date purchaseDate;




    /**
	 * 供应商名称;来源于Base_Supplier.Supplier_Name
	 */
    @Excel(name = "供应商名称",needMerge = true)
    private String supplierName;




    /**
	 * 采购员名称;来源于sys_user.user_name
	 */
    @Excel(name = "采购员名称",needMerge = true)
    private String guideName;




    /**
	 * 订单类型:1-产品-PRODUCT;2-辅料-ACCES
	 */
    @Excel(name = "订单类型", replace = {"产品_1","辅料_2"})
    private Integer purchaseType;




    /**
	 * 订单状态:1-未审核-WAITCHECK;2-已审核-AUDITED-;99-已作废-INVALID;readonly
	 */
    @Excel(name = "订单状态", replace = {"未审核_1","已审核_2","已作废_99"})
    private Integer purchaseState;




    /**
	 * 审核人;readonly
	 */
    @Excel(name = "审核人",needMerge = true)
    private String checkUserName;




    /**
	 * 审核时间;format:yyyy-MM-dd HH:mm:ss;readonly
	 */
    @Excel(name = "审核时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date checkDate;




    /**
	 * 备注
	 */
    @Excel(name = "备注",needMerge = true)
    private String remark;




    /**
	 * 创建人
	 */
    @Excel(name = "创建人",needMerge = true)
    private String createUserName;




    /**
	 * 创建时间
	 */
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date createTime;




    /**
	 * 修改人
	 */
    @Excel(name = "修改人",needMerge = true)
    private String updateUserName;




    /**
	 * 修改时间
	 */
    @Excel(name = "修改时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date updateTime;




    /**
     * 采购订单明细
     */
    @ExcelCollection(name = "采购订单明细")
    private List<SalePurchaseLineExportVO> salePurchaseLineExportVOList;
}
